package com.platform.unifiedweb.controller.member;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * describe:
 *
 * @author rainly
 * @date 2019/11/19
 * @time 4:11 下午
 */
@Controller
@RequestMapping(value = "member")
public class MemberController {

    @GetMapping(value = "list")
    public ModelAndView list(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/member/member-list");
        return modelAndView;
    }

    @GetMapping(value = "add")
    public ModelAndView add(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/member/member-add");
        return modelAndView;
    }

    @GetMapping(value = "del")
    public ModelAndView del(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/member/member-del");
        return modelAndView;
    }

    @GetMapping(value = "changePassword")
    public ModelAndView changePassword(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/member/change-password");
        return modelAndView;
    }

    @GetMapping(value = "show")
    public ModelAndView show(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/member/member-show");
        return modelAndView;
    }

    @GetMapping(value = "record/browse")
    public ModelAndView browse(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/member/record-browse");
        return modelAndView;
    }
    @GetMapping(value = "record/download")
    public ModelAndView download(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/member/record-download");
        return modelAndView;
    }
    @GetMapping(value = "record/share")
    public ModelAndView share(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/member/record-share");
        return modelAndView;
    }
}
